package com.bba.manager.common.model.user;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.bba.manager.common.util.EncryptHandler;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author SYANDZZY
 * @since 2025-08-11
 */
@Getter
@Setter
@TableName("customer")
public class Customer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 顾客编号
     */
      @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 顾客姓名
     */
    @TableField("name")
    private String name;

    /**
     * 顾客电话
     */
    @TableField("phone")
    private String phone;

    /**
     * 顾客身份证号
     */
    @TableField("id_card")
    private String idCard;

    /**
     * 顾客信息创建时间
     */
    @TableField(fill= FieldFill.INSERT)
    private LocalDateTime createTime;
}
